﻿<UserControl xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"  x:Class="FreeGoo.Silverlight.Demo.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:WpfDemo="clr-namespace:FreeGoo.WpfDemo" 
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
             MouseLeftButtonDown="UserControl_MouseLeftButtonDown" MouseLeftButtonUp="UserControl_MouseLeftButtonUp" MouseMove="UserControl_MouseMove" BorderBrush="AliceBlue">
    <Grid 
       x:Name="LayoutRoot"        
       MouseLeftButtonDown="UserControl_MouseLeftButtonDown" 
       MouseLeftButtonUp="UserControl_MouseLeftButtonUp" 
       MouseMove="UserControl_MouseMove" >
        <StackPanel>
            <dataInput:Label x:Name="MousePositionLabel" Content="(...)"></dataInput:Label>
            <Button Content="Yowsa!"></Button>
            <WpfDemo:GameControl x:Name="GameControl" Margin="0,0,0,0"></WpfDemo:GameControl>
        </StackPanel>
    </Grid>
</UserControl>
